package com.mobile.mapper;

import com.mobile.pojo.Member;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author Encounter
 * @date 2024/10/14 13:02<br/>
 */
@Mapper
public interface MemberMapper
    {
        /**
         * 动态查询
         *
         * @param map 查询条件
         * @return {@link List }<{@link Member }>
         */
        List<Member> query(Map<String, Object> map);
        
        /**
         * 插入
         *
         * @param member 成员
         */
        void insert(Member member);
    }
